Overview | Package | Class | Tree | Deprecated | Index | Help |
Java Platform 1.1.7 |
||
PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sun.java.accessibility.AccessibleContext | +--com.sun.java.swing.JComponent.AccessibleJComponent | +--com.sun.java.swing.text.JTextComponent.AccessibleJTextComponent
Warning: serialized objects of this class will not be compatible with future swing releases. The current serialization support is appropriate for short term storage or RMI between Swing1.0 applications. It will not be possible to load serialized Swing1.0 objects with future releases of Swing. The JDK1.2 release of Swing will be the compatibility baseline for the serialized form of Swing objects.
Fields inherited from class com.sun.java.accessibility.AccessibleContext | |
ACCESSIBLE_CARET_PROPERTY, ACCESSIBLE_DESCRIPTION_PROPERTY, ACCESSIBLE_NAME_PROPERTY, ACCESSIBLE_SELECTION_PROPERTY, ACCESSIBLE_STATE_PROPERTY, ACCESSIBLE_TEXT_PROPERTY, ACCESSIBLE_VALUE_PROPERTY, ACCESSIBLE_VISIBLE_DATA_PROPERTY, accessibleDescription, accessibleName, accessibleParent |
Constructor Summary | |
JTextComponent.AccessibleJTextComponent(JTextComponent this$0)
Constructs an AccessibleJTextComponent. |
Method Summary | |
void | caretUpdate(CaretEvent e)
Handles caret updates (fire appropriate property change event, which are AccessibleContext. |
void | changedUpdate(DocumentEvent e)
Handles document remove (fire appropriate property change event, which is AccessibleContext. |
AccessibleRole | getAccessibleRole()
Gets the role of this object. |
AccessibleStateSet | getAccessibleStateSet()
Gets the state set of the JTextComponent. |
AccessibleText | getAccessibleText()
Gets the AccessibleText interface associated with this object. |
java.lang.String | getAfterIndex(int part,
int index)
Returns the String after a given index. |
java.lang.String | getAtIndex(int part,
int index)
Returns the String at a given index. |
java.lang.String | getBeforeIndex(int part,
int index)
Returns the String before a given index. |
int | getCaretPosition()
Returns the zero-based offset of the caret. |
AttributeSet | getCharacterAttribute(int i)
Returns the AttributeSet for a given character (at a given index). |
java.awt.Rectangle | getCharacterBounds(int i)
Determines the bounding box of the character at the given index into the string. |
int | getCharCount()
Returns the number of characters (valid indicies) |
int | getIndexAtPoint(java.awt.Point p)
Given a point in local coordinates, return the zero-based index of the character under that Point. |
java.lang.String | getSelectedText()
Returns the portion of the text that is selected. |
int | getSelectionEnd()
Returns the end offset within the selected text. |
int | getSelectionStart()
Returns the start offset within the selected text. |
void | insertUpdate(DocumentEvent e)
Handles document insert (fire appropriate property change event which is AccessibleContext. |
void | removeUpdate(DocumentEvent e)
Handles document remove (fire appropriate property change event, which is AccessibleContext. |
Methods inherited from class java.lang.Object | |
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait |
Constructor Detail |
public JTextComponent.AccessibleJTextComponent(JTextComponent this$0)
Method Detail |
public void caretUpdate(CaretEvent e)
e
- the CaretEventpublic void insertUpdate(DocumentEvent e)
e
- the DocumentEventpublic void removeUpdate(DocumentEvent e)
e
- the DocumentEventpublic void changedUpdate(DocumentEvent e)
e
- the DocumentEventpublic AccessibleStateSet getAccessibleStateSet()
public AccessibleRole getAccessibleRole()
public AccessibleText getAccessibleText()
public int getIndexAtPoint(java.awt.Point p)
p
- the Point in local coordinatespublic java.awt.Rectangle getCharacterBounds(int i)
i
- the index into the String >= 0public int getCharCount()
public int getCaretPosition()
public AttributeSet getCharacterAttribute(int i)
i
- the zero-based index into the textpublic int getSelectionStart()
public int getSelectionEnd()
public java.lang.String getSelectedText()
public java.lang.String getAtIndex(int part, int index)
part
- the AccessibleText.CHARACTER, AccessibleText.WORD,
or AccessibleText.SENTENCE to retrieve
index
- an index within the text >= 0public java.lang.String getAfterIndex(int part, int index)
part
- the AccessibleText.CHARACTER, AccessibleText.WORD,
or AccessibleText.SENTENCE to retrieve
index
- an index within the text >= 0public java.lang.String getBeforeIndex(int part, int index)
part
- the AccessibleText.CHARACTER, AccessibleText.WORD,
or AccessibleText.SENTENCE to retrieve
index
- an index within the text >= 0Overview | Package | Class | Tree | Deprecated | Index | Help |
Java Platform 1.1.7 |
||
PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |